﻿<UserControl xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"  x:Class="SLAdmin.UserControls.SamplePage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     
    xmlns:liquid="clr-namespace:Liquid;assembly=Liquid"
    xmlns:images="clr-namespace:SLAdmin.Images"    
    xmlns:extensions="clr-namespace:SLExtensions.Controls;assembly=SLExtensions.Controls"    
    xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" 
          HorizontalAlignment="Stretch" 
          VerticalAlignment="Stretch" Background="White">
        <StackPanel Orientation="Vertical" Margin="20">            <TextBlock Text="Sample Page" Margin="10" FontSize="30" FontWeight="Bold"/>            <TextBlock x:Name="TextBlock" Margin="10" Text="This is a text block."/>            <CheckBox x:Name="CheckBoxName" Margin="10" Content="This is a checkbox."/>            <RadioButton Margin="10"  GroupName="RadioButtonGroup" Tag="1" Content="This is a radio button."/>            <RadioButton Margin="10"  GroupName="RadioButtonGroup" Tag="2" Content="This is another radio button."/>            <Slider x:Name="SliderName" Margin="10"  Minimum="0" Maximum="100"/>            <TextBox x:Name="TextBlockName" Margin="10" Text="This is a text block."/>            <TextBox x:Name="TextBlockName2" Margin="10" Height="200" AcceptsReturn="True"                     Text="This is a LARGE text block."/>            <ListBox x:Name="ListBoxName" Width="300" Margin="10">                <ListBox.Items>                    <ListBoxItem Content="This is a listbox item."/>                    <ListBoxItem Content="This is another listbox item."/>                </ListBox.Items>            </ListBox>                        <basics:DatePicker x:Name="DatePickerName" Width="200" Margin="10" Text="This is a date picker."/>            <Button x:Name="ButtonName" Width="100" Margin="10" Content="This is a button."/>            <basics:Calendar x:Name="CallendarName" Margin="10"/>            <TextBlock Text="Layout Controls" Margin="20" FontWeight="Bold"/>            <basics:TabControl x:Name="TabControlName">                <basics:TabItem Header="Tab1">                    <TextBlock Text="This is the first tab."/>                </basics:TabItem>                <basics:TabItem Header="Tab2">                    <TextBlock Text="This is the second tab."/>                </basics:TabItem>            </basics:TabControl>            <Border CornerRadius="10" Padding="5" Margin="10"                    Background="Gray" BorderBrush="Black" BorderThickness="2">                <TextBlock Text="A border can hold a single item."/>            </Border>            <Grid Margin="10" Background="Aqua">                <Grid.ColumnDefinitions>                    <ColumnDefinition />                    <ColumnDefinition />                </Grid.ColumnDefinitions>                <Grid.RowDefinitions>                    <RowDefinition />                    <RowDefinition />                </Grid.RowDefinitions>                <TextBlock Grid.Column="0" Grid.Row="0" Text="Items arranged ... "/>                <TextBlock Grid.Column="0" Grid.Row="1" Text="... into cells"/>                <TextBlock Grid.Column="1" Grid.Row="0" Text="Yet another item."/>                <TextBlock Grid.Column="1" Grid.Row="1" Text="Even more text."/>            </Grid>            <StackPanel Orientation="Horizontal" Margin="10">                 <Border CornerRadius="10" Padding="5" Margin="10"                    Background="LightCyan" BorderBrush="Black" BorderThickness="2">                    <TextBlock Text="Stack panels can stack ..."/>                 </Border>                  <Border CornerRadius="10" Padding="5" Margin="10"                    Background="LightCyan" BorderBrush="Black" BorderThickness="2">                    <TextBlock Text="... items horizotionally."/>                </Border>            </StackPanel>            <StackPanel Orientation="Vertical" Margin="10">                 <Border CornerRadius="10" Padding="5" Margin="10"                    Background="BlanchedAlmond"  BorderBrush="Black" BorderThickness="2">                    <TextBlock Text="Or ..."/>                 </Border>                  <Border CornerRadius="10" Padding="5" Margin="10"                    Background="BlanchedAlmond" BorderBrush="Black" BorderThickness="2">                    <TextBlock Text="... vertically."/>                </Border>            </StackPanel>                    </StackPanel>
    </Grid>
</UserControl>
